import request from '@/utils/request.js'

export function pageQueryProject(params) {
  return request({
    url: '/api/project/pageQueryProject',
    method: 'get',
    params
  })
}

export function projectInsert(data) {
  return request({
    url: '/api/project/insertPorject',
    method: 'post',
    data
  })
}

export function projectUpdate(data) {
  return request({
    url: '/api/project/updateProject',
    method: 'post',
    data
  })
}


export function projectDelete(data) {
  return request({
    url: '/api/project/deleteProject',
    method: 'delete',
    data
  })
}

export function projectDetail(params) {
  return request({
    url: '/api/project/selectProjectById',
    method: 'get',
    params
  })
}

export function projectInfo(params) {
  return request({
    url: '/api/project/getProjectInfo',
    method: 'get',
    params
  })
}